Skip to content

Add deterministic GitOps promotion (#152) - #155

Merged
AntoineToussaint merged 3 commits into
mainfrom
issue-152-implement-deterministic-gitops-render-publish-and-argo
Jul 29, 2026
Merged

Add deterministic GitOps promotion (#152)#155
AntoineToussaint merged 3 commits into
mainfrom
issue-152-implement-deterministic-gitops-render-publish-and-argo

Conversation

@AntoineToussaint

Copy link
Copy Markdown
Contributor

Closes #152.

Summary

  • Prevent stale or unsafe manifests from entering promotion by installing validated, inventoried owned trees atomically.
  • Keep remote deployment review-driven and prove every transition with exact render, Git, pull request, Argo CD, and cluster identities.
  • Make recovery auditable by re-promoting only revisions with prior reviewed Healthy evidence.

Test plan

  • go test -failfast ./...
  • go test -failfast -race ./...
  • go vet ./...
  • go run . deploy gitops --help
  • CODEFLY_GITOPS_K3D_QUALIFY=1 go test ./pkg/gitops -run TestLocalK3dDisposableGitQualification -v -count=1 -timeout=12m

Risk

  • The opt-in qualification test creates a uniquely named disposable k3d cluster and helper Git container, then deletes only those exact resources. The successful local run completed cleanup and left the existing codefly-local cluster untouched.

@AntoineToussaint
AntoineToussaint force-pushed the issue-152-implement-deterministic-gitops-render-publish-and-argo branch from ae42f06 to 5f6167a Compare July 29, 2026 11:30
@AntoineToussaint
AntoineToussaint merged commit f5eda8a into main Jul 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement deterministic GitOps render, publish, and Argo observation

1 participant